<!DOCTYPE html>
<html>
<link href="resources/flexbox.css" rel="stylesheet">
<style>
    div::first-letter { line-height: 100px; }
    p { line-height: 20px; }
</style>

<script src="../../resources/check-layout.js"></script>
<body onload="checkLayout('.flexbox'); checkLayout('.inline-flexbox')">
<p>This test flex item should ignore flex container's firstLetter pseudo element.</p>

<div class="flexbox">
    <p data-expected-height=20>The first item.</p>
    <p data-expected-height=20>The second item.</p>
</div>
<div class="inline-flexbox">
    <p data-expected-height=20>The first item.</p>
    <p data-expected-height=20>The second item.</p>
</div>
</body>
</html>
